﻿<cc:ModalDialog x:Class="CoolCode.Controls.Test.AnotherPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cc="clr-namespace:CoolCode.Controls;assembly=CoolCode.Controls">
    <Grid x:Name="LayoutRoot">
        <Border CornerRadius="20" Background="#eeeeee" Width="300" Height="150">
            <StackPanel Orientation="Vertical" Margin="10">
                <StackPanel  Margin="10">
                    <TextBlock  >This is an another page!</TextBlock>  
                    <Button x:Name="btnClose" Content="Close" Width="50"
                        HorizontalAlignment="Right" Click="btnClose_Click" />
                </StackPanel>
            </StackPanel>
        </Border>
    </Grid>
    </cc:ModalDialog>